CLIENT=client
SERVER=server
CC=g++
CLIENT_SRC=Client.cc
SERVER_SRC=Server.cc


.PHONY:all
all:$(CLIENT) $(SERVER)

$(CLIENT):$(CLIENT_SRC)
	$(CC) -o $@ $^ -std=c++11

$(SERVER):$(SERVER_SRC)
	$(CC) -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -rf $(CLIENT) $(SERVER)